package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品信息对象 hh_product
 * 
 * @author ruoyi
 * @date 2021-06-15
 */
public class HhProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Long productId;

    /** 商品名 */
    @Excel(name = "商品名")
    private String productName;

    /** 规格id */
    @Excel(name = "规格id")
    private Long sizeId;

    /** 品牌id */
    @Excel(name = "品牌id")
    private Long brandId;

    /** 零售价 */
    @Excel(name = "零售价")
    private String productPrice;

    /** 单位 */
    @Excel(name = "单位")
    private String productUnit;

    /** 批发价 */
    @Excel(name = "批发价")
    private String purchasePrice;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String productImg;

    /** 类型 */
    @Excel(name = "类型")
    private Long typeId;

    /** 删除 */
    @Excel(name = "删除")
    private Long isDel;

    /** 权重 */
    @Excel(name = "权重")
    private Long selectCount;

    /** 库存 */
    @Excel(name = "库存")
    private Long productStore;

    /** 简称 */
    @Excel(name = "简称")
    private String productShortName;

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setSizeId(Long sizeId) 
    {
        this.sizeId = sizeId;
    }

    public Long getSizeId() 
    {
        return sizeId;
    }
    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }
    public void setProductPrice(String productPrice) 
    {
        this.productPrice = productPrice;
    }

    public String getProductPrice() 
    {
        return productPrice;
    }
    public void setProductUnit(String productUnit) 
    {
        this.productUnit = productUnit;
    }

    public String getProductUnit() 
    {
        return productUnit;
    }
    public void setPurchasePrice(String purchasePrice) 
    {
        this.purchasePrice = purchasePrice;
    }

    public String getPurchasePrice() 
    {
        return purchasePrice;
    }
    public void setProductImg(String productImg) 
    {
        this.productImg = productImg;
    }

    public String getProductImg() 
    {
        return productImg;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setIsDel(Long isDel) 
    {
        this.isDel = isDel;
    }

    public Long getIsDel() 
    {
        return isDel;
    }
    public void setSelectCount(Long selectCount) 
    {
        this.selectCount = selectCount;
    }

    public Long getSelectCount() 
    {
        return selectCount;
    }
    public void setProductStore(Long productStore) 
    {
        this.productStore = productStore;
    }

    public Long getProductStore() 
    {
        return productStore;
    }
    public void setProductShortName(String productShortName) 
    {
        this.productShortName = productShortName;
    }

    public String getProductShortName() 
    {
        return productShortName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("sizeId", getSizeId())
            .append("brandId", getBrandId())
            .append("productPrice", getProductPrice())
            .append("productUnit", getProductUnit())
            .append("purchasePrice", getPurchasePrice())
            .append("productImg", getProductImg())
            .append("typeId", getTypeId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("isDel", getIsDel())
            .append("selectCount", getSelectCount())
            .append("productStore", getProductStore())
            .append("productShortName", getProductShortName())
            .toString();
    }
}
